<?php

class Footer extends MX_Controller
{
    function __construct()
    {
        parent::__construct();
        $this->lang->load('error', $this->public_model->getLanguage());
    }

    function frontback()    //profile
    {
        
        $data = array();
        $data['menu'] = modules::run('account/menu');
        $data['footer'] = $this->public_model->getFooter();
        foreach ($data['footer'] as $footer)
        {
            $footer->content = $this->public_model->getContentFooterByID($footer->id);
        }
        $data['copyright'] = $this->public_model->getSystemParameterValue('copyright');
        $content = $this->load->view('footer_frontback_view', $data);
        
    }   
}
